﻿#pragma once

#include <QThread>
#include <QString>
#include <QFile>
#include <QHostAddress>
#include <QTcpSocket>
#include <QQueue>
#include <QPair>
#include <QDateTime>

class PowerOutputThread : public QThread
{
	Q_OBJECT

public:
	PowerOutputThread(QObject *parent);
	~PowerOutputThread();
public:
	void PutFileToDeal(const QString &strFileName, const unsigned short usDelay);
private:
	QString m_strFileName;
	unsigned short m_usDelayTime;
	virtual void run();
//	QQueue<QPair<unsigned long long float>> m_Queen;
	bool LoadFile(const QString strFileName, QQueue <QPair<unsigned long long, float>> &Queen);
};
